package com.xy.modular.owner.model;

import javax.persistence.*;

public class OwnerAuthLocal {
	/**
	 * 认证id
	 */
	@Column(name = "auth_id")
	private String authId;
	@Column(name = "user_name")
	private String userName;
	private String password;
	private String mobile;
	private String houseId;
	private OwnerHouse houses;

	public OwnerHouse getHouses() {
		return houses;
	}

	public void setHouses(OwnerHouse houses) {
		this.houses = houses;
	}

	public String getHouseId() {
		return houseId;
	}

	public void setHouseId(String houseId) {
		this.houseId = houseId;
	}
	/**
	 * 密码盐
	 */
	private String salt;

	/**
	 * 获取认证id
	 *
	 * @return auth_id - 认证id
	 */
	public String getAuthId() {
		return authId;
	}

	/**
	 * 设置认证id
	 *
	 * @param authId
	 *            认证id
	 */
	public void setAuthId(String authId) {
		this.authId = authId;
	}

	/**
	 * @return user_name
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * @param userName
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * @return password
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * @param password
	 */
	public void setPassword(String password) {
		this.password = password;
	}

	/**
	 * @return mobile
	 */
	public String getMobile() {
		return mobile;
	}

	/**
	 * @param mobile
	 */
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	/**
	 * 获取密码盐
	 *
	 * @return salt - 密码盐
	 */
	public String getSalt() {
		return salt;
	}

	/**
	 * 设置密码盐
	 *
	 * @param salt
	 *            密码盐
	 */
	public void setSalt(String salt) {
		this.salt = salt;
	}
}